package com.sdk.springbootadvancedsearch.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 模型基类
 * </p>
 *
 * @author gyx
 * @since 2024-09-18
 */
@Getter
@Setter
public class SchemaBaseModelsEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @TableField("name")
    private String name;


    @TableField("id_prefix")
    private String idPrefix;


    @TableField("unique_key")
    private String uniqueKey;


    @TableField("general_version")
    private Integer generalVersion;


    @TableField("fields_version")
    private Integer fieldsVersion;


    @TableField("status")
    private Integer status;


    @TableField("code")
    private String code;


    @TableField("entity_primary_type")
    private String entityPrimaryType;

    @TableField("entity_primary_key")
    private String entityPrimaryKey;


    @TableField("is_used")
    private Integer isUsed;


    @TableField("unique_constraint")
    private String uniqueConstraint;

}
